package com.cskaoyan.com.collection.hashmap;

import java.util.HashMap;

public class DemoHashMap3 {
    public static void main(String[] args) {


        HashMap<String, Integer> map = new HashMap<>();
        map.put("zs", 18);
        // ....
        map.put("ls", 20);

        map.remove("zs");




        String str = "zs";
        int hash = str.hashCode();
        hash = hash ^ (hash >>> 16);
        int tag = hash % 16;
        System.out.println(tag); // 9


    }
}
